//
//  ESVNavigator.swift
//  ESVNavigator
//
//  Created by Vencent on 2020/11/12.
//

import Foundation
import URLNavigator

public let registerNotification = Notification.Name.init("registerNotificationName")
public class ESVNavigator: Navigator {
    
    public static let `default` = ESVNavigator()
    private override init(){}
    
    static var APP_SCHEME = ""
    
    public static func register(_ scheme: String) {
        APP_SCHEME = scheme
        NotificationCenter.default.post(name: registerNotification, object: ESVNavigator.default, userInfo: ["scheme": scheme])
    }
}
